import cv2

img = cv2.imread('../asset/girl.jpeg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
dst = cv2.equalizeHist(gray)
while True:
    cv2.imshow('gray', gray)
    cv2.imshow('dst', dst)
    key = cv2.waitKey(10)
    if key & 0xFF == ord('q'):
        break
cv2.destroyAllWindows()
